<#include "../common/header.htm">
<div class="content-wrapper">
	<section class="content-header">
		<ol class="breadcrumb">
			<li><a href="${ctx}/">首页</a></li>
			<li class="active"><a href="#">对话日志</a></li>
		</ol>
	</section>
	<section class="content">
		<div class="box">
			<form action="${ctx}/mashineservicelog/list">
			<div class="box-header">
				<div class="row RowSearchWork">
					<div class="col-sm-12">
							<div class="col-sm-2 width20 three-word">
								<label>任务ID：</label> 
								<input name="taskId" type="text" class="form-control" placeholder="请输入任务Id" value="${taskId!}"/>
							</div>
							<div class="col-sm-2 width20 three-word">
								<label style="width: 70px;">客户号码：</label> 
								<input name="phone" type="text" class="form-control" placeholder="请输入客户号码" value="${phone!}"/>
							</div>
							<div class="col-sm-1">
								<input type="submit" class="btn btn-default btn-search" value="查询" />
							</div>
					</div>
				</div>
			</div>
			<div class="box-body">
				<#-- 这里不分页 -->
				<table class="table table-hover table-bordered table-striped table-manage">
					<colgroup>
						<col width="5%">
						<col width="10%">
						<col width="10%">
						<col width="30%">
						<col width="10%">
						<col width="30%">
						<col >
					</colgroup>
					<thead>
						<tr>
							<th>序号</th>
							<th>请求时间</th>
							<th>请求IP</th>
							<th>请求主体</th>
							<th>响应时间</th>
							<th>响应内容</th>
							<th>操作</th>
						</tr>
					</thead>
					<tbody>
						<#list list as l>
						<tr>
							<td>${l_index+1}</td>
							<td title="${l.reqTime?string("yyyy-MM-dd HH:mm:ss")}">${l.reqTime?string("yyyy-MM-dd HH:mm:ss")}</td>
							<td title="${l.reqIp!}">${l.reqIp!}</td>
							<td title="${l.reqBody!}">${l.reqBody!}</td>
							<td title="${l.respTime?string("yyyy-MM-dd HH:mm:ss")}">${l.respTime?string("yyyy-MM-dd HH:mm:ss")}</td>
							<td title='${l.respBody!}'>${l.respBody!}</td>
							<td>
								<a href="${ctx}/mashineservicelog/detail?vid=${l.vid}">详情</a>
							</td>
						</tr>
						</#list>
					</tbody>
				</table>
			</div>
			</form>
		</div>
	</section>
</div>
<#include "../common/footer.htm">